package com.sss.hloster0306;

public class Car extends Vehicle {

	private int loader;

	public Car(String brand, String color, int loader) {
		super(brand, color);
		this.loader = loader;
	}
	public void run() {
		System.out.println("车辆品牌为："+this.getBrand()+"  颜色为："+this.getColor()+"  ，  载人数为："+this.loader+"人");
	}
	public int getLoader() {
		return loader;
	}
	public void setLoader(int loader) {
		this.loader = loader;
	}
	

}
